package com.livepan.server.service;

import com.livepan.server.dataobject.RecordDO;
import com.livepan.server.error.BusinessException;

public interface RecordService {
    //用户是否做过这道题目
    public boolean is_down(String userId, int questionId) throws BusinessException;

    //得到用户的做题记录
    public RecordDO getRecordById(String userId, int questionId) throws BusinessException;

    //用户是否做对了这道题目，没做也会返回false
    public boolean is_correct(String userId, int questionId) throws BusinessException;
}
